import Vue from 'vue'
import VueRouter from 'vue-router'
Vue.use(VueRouter)
import PowerPoint from '@/pages/PowerPoint.vue'
import Guide from '@/pages/Guide.vue'
const router = new VueRouter({
  mode: 'history',
  base:  process.env.NODE_ENV === 'production' ? "/lesson/" : "/",
  routes: [
    {
      path: "/",
      name: "guide",
      component: Guide
    },
    {
      path: "/powerpoint",
      name: "powerpoint",
      component: PowerPoint
    }
  ]
})
export default router